view {
	box-sizing: border-box;
}

.x-scroll {
	// background-color: #111111;
	background-color: white;
	height: 100vh;
	position: relative;
	transition: height 0.2s;

	.scroll-wrap {
		width: 100%;
	}
}

.wx_popup {
	width: 650rpx;
	height: 650rpx;
	position: relative;

	.bg {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
	}

	.del_wxpopup {
		position: absolute;
		top: 0;
		right: 20rpx;
		padding: 10rpx;

		image {
			width: 50rpx;
			height: 50rpx;
		}
	}

	.popup_title {
		display: flex;
		justify-content: center;

		.title_text {
			background-image: linear-gradient(135deg, #FFEACB, #F7B15C);
			font-size: 30rpx;
			font-weight: bold;
			color: #240E37;
			padding: 10rpx 30rpx;
			border-bottom-left-radius: 24rpx;
			border-bottom-right-radius: 24rpx;

		}
	}

	.popup_lit {
		display: flex;
		justify-content: center;
		margin: 10rpx 0 20rpx;
		color: #a7a7ae;
		font-size: 26rpx;
	}

	.wx_p_content {
		.price {
			view {
				color: #111;
			}

			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 46rpx;

			// padding-top: 312rpx;
			.price_item {
				display: flex;
				align-items: center;
				flex-direction: column;
				border-radius: 24rpx;
				border: 4rpx solid transparent;
				padding: 0rpx 20rpx 26rpx;
				overflow: hidden;
				position: relative;

				.price_type {
					padding: 10rpx 30rpx;
					font-size: 26rpx;
					border-bottom-left-radius: 24rpx;
					border-bottom-right-radius: 24rpx;
				}

				.crown {
					width: 66rpx;
					height: 66rpx;
					margin: 10rpx 0 22rpx;

					image {
						width: 100%;
						height: 100%;
					}
				}

				.price_tit {
					font-size: 36rpx;
					position: relative;

					.first_vip {
						position: absolute;
						top: -30rpx;
						right: -32rpx;
						padding: 4rpx 10rpx;
						border-radius: 50rpx;
						color: #fff;
						background-color: #ef4034;
						font-size: 22rpx;
					}
				}

				.price_lit {
					font-size: 24rpx;
				}

				.active_icon {
					position: absolute;
					right: 0;
					bottom: 0;
					width: 60rpx;
					height: 60rpx;

					image {
						width: 100%;
						height: 100%;
					}
				}
			}

			.gold_card {
				background-image: linear-gradient(140deg, #f4dbb4, #e1b059);

				.price_type {
					background-image: linear-gradient(180deg, #f7e7ca, #e1b35f);
				}

				.price_tit {
					color: #4c310c;
				}

				.price_lit {
					color: #72532a;
				}
			}

			.blak_card {
				background-image: linear-gradient(140deg, #655e59, #292b31);
				width: 256rpx;
				.price_type {
					color: #fff;
					background-image: linear-gradient(180deg, #67605a, #37373a);
				}

				.price_tit {
					color: #fff;
				}

				.price_lit {
					color: #c8c8c8;
				}
			}

			.price_active {
				border-color: #fff;

			}
		}

		.vip_time {
			display: flex;
			align-items: center;
			justify-content: center;

			.time_tit {
				font-size: 28rpx;
			}

			.time_inp {
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 32rpx;
				margin: 20rpx 0;

				input {
					width: 35%;
					text-align: center;
					font-size: 28rpx;
					margin-right: 10rpx;
					border-bottom: 2rpx solid #fff;
				}
			}
		}

		.input-placeholder {
			font-size: 28rpx !important;
		}

		.wx_btn {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 50rpx;
			margin-top: 60rpx;

			.btn_item {
				width: 260rpx;
				height: 70rpx;
				border-radius: 60rpx;
				font-size: 28rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}

			.gold_btn {
				color: #f9d9a2;
				box-sizing: border-box;
				border: 4rpx solid #f9d9a2;
			}

			.black_btn {
				color: #6C250F;
				background-image: linear-gradient(to right, #FCEBC0, #F2B162);
			}
		}

		.vip_tips {
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 0 20rpx;
			font-size: 22rpx;
			margin-top: 30rpx;

			image {
				width: 30rpx;
				height: 30rpx;
				margin-right: 14rpx;
			}
		}
	}
}


.mask {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 999;
	// background-color: #111111;
}

.fit-bottom {
	padding-bottom: calc(env(safe-area-inset-bottom) / 2) !important;
}

.zero-height {
	height: 0;
}

.chat-time {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 20rpx;
	padding: 20rpx 40rpx 15rpx;
	color: #d2d2d2;
	font-size: 24rpx;
}

.chat-item {
	display: flex;
	padding: 15rpx 20rpx;

	&.flex-flow {
		flex-flow: row-reverse;

		.chat-content {
			background: #38D99D;

			text {
				color: #1B0F06;
			}

			&::after {
				left: unset;
				top: 30rpx;
				right: -16rpx;
				border-width: 16rpx 0 12rpx 24rpx;
				border-color: transparent transparent transparent #38D99D;
			}
		}

		.chat-audio {
			justify-content: flex-end;
			color: #1B0F06;
		}
	}

	.chat-head {
		flex-shrink: 0;
		width: 80rpx;
		height: 80rpx;

		image {
			width: 100%;
			height: 100%;
			border-radius: 10rpx;
			display: block;
		}
	}

	.wifi-symbol {
		width: 50rpx;
		height: 50rpx;
		box-sizing: border-box;
		position: relative;
		/*必须，否则苹果overflow失效*/
		overflow: hidden;
		transform: rotate(-45deg) translate3d(-10rpx, -10rpx, 0rpx);

		.wifi-circle {
			border: 4rpx solid #000;
			border-radius: 50%;
			position: absolute;
		}

		.first {
			width: 5rpx;
			height: 5rpx;
			background: #000;
			top: 45rpx;
			left: 45rpx;
		}

		.second {
			width: 25rpx;
			height: 25rpx;
			top: 35rpx;
			left: 35rpx;
		}

		.third {
			width: 40rpx;
			height: 40rpx;
			top: 25rpx;
			left: 25rpx;
		}

		&.animation {
			.second {
				animation: fadeInOut 1s infinite 0.2s;
			}

			.third {
				animation: fadeInOut 1s infinite 0.4s;
			}
		}

		&.direction {
			transform: rotate(135deg) translate3d(-10rpx, -10rpx, 0rpx);
		}

		@keyframes fadeInOut {
			0% {
				opacity: 0;
				/*初始状态 透明度为0*/
			}

			100% {
				opacity: 1;
				/*结尾状态 透明度为1*/
			}
		}
	}

	.chat-content {
		max-width: 75%;
		margin: 0 20rpx;
		background-color: #fff;
		border-radius: 12rpx;
		padding: 20rpx 15rpx 20rpx 20rpx;
		display: flex;
		align-items: center;
		position: relative;
		user-select: text;

		&::after {
			content: '';
			position: absolute;
			top: 30rpx;
			left: -16rpx;
			width: 0;
			height: 0;
			border-width: 16rpx 24rpx 12rpx 0;
			border-style: solid;
			border-color: transparent #fff transparent transparent;
		}

		text {
			display: block;
			font-size: 30rpx;
			line-height: 38rpx;
			color: #1B0F06;
		}

		&.chat-audio {
			padding: 10rpx 15rpx 10rpx 20rpx;
			color: #1B0F06;
		}
	}

	.chat-imgs {
		width: 250rpx;
		margin: 0 20rpx;
		border-radius: 12rpx;
		background-color: #fff;
		position: relative;

		image {
			width: 100%;
			height: 100%;
			display: block;
			border-radius: 12rpx;
		}
	}
}

.chat-body {
	width: 100%;
	position: fixed;
	bottom: 0;
	// background-color: #1F1F1F;
	background-color: #fafafa;

	.chat-cell {
		padding: 15rpx 20rpx 15rpx;
		display: flex;
		align-items: flex-start;

		.chat-switch {
			width: 70rpx;
			height: 70rpx;

			image {
				width: 100%;
				height: 100%;
				border-radius: 50%;
				display: block;
			}
		}

		.chat-input {
			flex: 1;
			margin-left: 15rpx;
			min-height: 70rpx;
			display: flex;
			background: #f1f1f1;
			border-radius: 10rpx;
			padding: 18rpx 20rpx;

			&.chat-btn {
				padding: 0;
				align-items: center;
				justify-content: center;
				color: #000;
				font-size: 32rpx;
			}

			textarea {
				width: 100%;
				max-height: 400rpx;
				min-height: 22rpx;
				line-height: 34rpx;
				font-size: 30rpx;
				color: #000;
				box-sizing: border-box;
			}
		}

		.chat-add {
			width: 65rpx;
			height: 65rpx;
			margin-top: 2rpx;
			margin-left: 15rpx;
		}

		.chat-send {
			width: 100rpx;
			height: 65rpx;
			margin-left: 15rpx;
			font-size: 28rpx;
			color: #fff;
			background: #0D0D0D;
			border-radius: 10rpx;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}

	.chat-panel {
		display: flex;
		height: 75rpx;
		padding: 15rpx 0rpx 5rpx 20rpx;

		.panel-item {
			margin-right: 30rpx;
			padding: 5rpx 20rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			background-color: #ffffff;
			border-radius: 60rpx;

			text {
				font-size: 30rpx;
				color: #000;
			}
		}
	}
}

.chat-menu {
	width: 100%;
	display: flex;
	align-items: center;
	position: relative;
	// bottom: 180rpx;

	// &::after {
	// 	position: absolute;
	// 	top: 0;
	// 	right: 0;
	// 	left: 0;
	// 	height: 2rpx;
	// 	content: '';
	// 	transform: scaleY(.6);
	// 	background-color: #404040;
	// }

	.menu-wrap {
		display: flex;
		width: 100%;
		height: 440rpx;
		align-items: center;
		flex-wrap: wrap;
		flex-direction: row;
		position: relative;
		padding: 0rpx 20rpx;
		// background-color: #eeeff1;
		// padding: 20rpx;
		margin-bottom: 20rpx;

		.menu-cell {
			width: 25%;
			height: 180rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
			position: relative;

			.menu-icon {
				width: 100rpx;
				height: 100rpx;
				background-color: #fff;
				border-radius: 15rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}

			text {
				font-size: 28rpx;
				margin-top: 10rpx;
			}

			.menu-tips {
				padding: 5rpx 8rpx;
				position: absolute;
				right: 0;
				top: 0;
				font-size: 18rpx;
				border-radius: 4rpx;
				background-color: #e55252;
				color: #ffffff;
			}
		}
	}

}
.popup {
	width: 650rpx;
	// height: 700rpx;
	border-radius: 20rpx;
	position: relative;

	.popup-bg {
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		display: block;
		z-index: -1;
	}

	.popup-title {
		display: flex;
		justify-content: center;

		.title-text {
			background-image: linear-gradient(135deg, #FFEACB, #F7B15C);
			font-size: 30rpx;
			font-weight: bold;
			color: #240E37;
			padding: 10rpx 30rpx;
			border-radius: 0 0 24rpx 24rpx;
		}
	}

	.popup-title-sub {
		display: flex;
		justify-content: center;
		margin-top: 10rpx;
		color: #a7a7ae;
		font-size: 26rpx;
	}

	.popup-close {
		width: 50rpx;
		height: 50rpx;
		position: absolute;
		right: 30rpx;
		top: 10rpx;
	}

	.popup-wrap {
		max-height: 800rpx;
		min-height: 300rpx;
		padding-top: 30rpx;
		padding-bottom: 20rpx;
	}

	.popup-btn {
		display: flex;
		justify-content: space-between;
		padding: 30rpx 50rpx;
		&.-btn{
			justify-content: center;
		}
		.x-btn {
			width: 260rpx;
			height: 70rpx;
			border-radius: 60rpx;
			font-size: 28rpx;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.btn-a {
			color: #f9d9a2;
			border: 4rpx solid #f9d9a2;
		}

		.btn-b {
			color: #6C250F;
			background-image: linear-gradient(to right, #FCEBC0, #F2B162);
		}
	}
}


.popup-tips {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20rpx 40rpx;
	font-size: 22rpx;
	image {
		width: 30rpx;
		height: 30rpx;
		margin-right: 14rpx;
	}
}
.weixin-icon{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40rpx 50rpx;
	
	image {
		width: 100rpx;
		height: 100rpx;
	}
	.weixin-desc{
		color: #fff;
		text-align: center;
		font-size: 26rpx;
		padding: 50rpx 20rpx 0;
	}
}
.x-member {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 40rpx;

	.member-item {
		width: calc(50% - 25rpx);
		display: flex;
		align-items: center;
		flex-direction: column;
		border-radius: 24rpx;
		border: 4rpx solid transparent;
		padding: 0rpx 20rpx 26rpx;
		position: relative;
		background-image: linear-gradient(140deg, #f4dbb4, #e1b059);
		background-clip: border-box;

		&.black-vip {
			background-image: linear-gradient(140deg, #655e59, #292b31);

			.member-title {
				color: #fff;
				background-image: linear-gradient(180deg, #67605a, #37373a);
			}

			.member-price {
				color: #fff;
			}

			.member-desc {
				color: #c8c8c8;
			}
		}

		&.member-active {
			border-color: #fff;
		}

		.active-icon {
			position: absolute;
			right: 0;
			bottom: 0;
			width: 60rpx;
			height: 60rpx;
		}

		.member-title {
			color: #111;
			padding: 10rpx 30rpx;
			font-size: 26rpx;
			border-radius: 0 0 24rpx 24rpx;
			background-image: linear-gradient(180deg, #f7e7ca, #e1b35f);
		}

		.member-icon {
			width: 66rpx;
			height: 66rpx;
			margin-top: 10rpx;
		}

		.member-price {
			color: #111;
			font-size: 36rpx;
			margin-top: 20rpx;
		}

		.member-desc {
			font-size: 24rpx;
			color: #4c310c;
			margin-top: 25rpx;
		}
	}
}

.x-list {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	padding: 0 40rpx;

	.list-cell {
		width: 25%;
		height: 195rpx;
		border: 2rpx solid rgba(0, 0, 0, 0);
		display: flex;
		align-items: center;
		flex-direction: column;
		padding: 20rpx 0rpx 10rpx;
		border-radius: 16rpx;
		position: relative;

		&.list-active {
			border-radius: 16rpx;
			border: 2rpx solid #FD4C61;
		}

		.list-btn {
			width: calc(100% + 4rpx);
			height: 52rpx;
			color: #fff;
			background: #FD4C61;
			border-radius: 0rpx 0rpx 16rpx 16rpx;
			position: absolute;
			bottom: -2rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 24rpx;
		}

		.list-icon {
			width: 80rpx;
			height: 80rpx;
		}

		.list-name {
			background: linear-gradient(to right, #ff0000, #ffff00);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			font-size: 26rpx;
			margin-top: 8rpx;
		}

		.list-price {
			background: linear-gradient(to right, #ff0000, #ffff00);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			font-size: 22rpx;
			margin-top: 5rpx;
		}
	}
}